package jp.sourceforge.akjrcp.text_douga;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

public interface VideoWriter {
public int getMaxFrame();
public void setMaxFrame(int maxFrame);
public int getWrited();
public File getWorkingDir();
public void close() throws IOException;
/**
 * 
 * @param videoData
 * @param image
 * @return if writed max frame or not
 * it true no more write.
 */
public boolean writeFrame(VideoData videoData,BufferedImage image)throws IOException;
public File getWorkingFrameFile(int index);
}
